#ifndef PWMIN_H
#define PWMIN_H

#include <avr/io.h>
#include <avr/interrupt.h>
#include "avrlibdefs.h"
#include "avrlibtypes.h"

 enum state_type
    {
      INIT=0,
      RISING_EDGE_SCAN=1,
      FALLING_EDGE_SCAN=2
    };
    typedef enum state_type state_t;

	void pwminInit(void);
    
	unsigned int PWMIN_Read(u08 channel);


#endif


